import { LinValidator, Rule } from "../code/lin-validator-v2"

export class MessageValidator extends LinValidator {
    constructor() {
        super()
        this.msg = [new Rule('isLength', '发送内容不超过400字', {
            min: 0,
            max: 400
        })]
        this.id = []
    }
}